package com.tyk.bookstore.back.storage.model.vo;


import com.tyk.bookstore.back.common.core.model.page.PageVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class StockPageVo extends PageVo<StockPageVo.Stock> {
    @Data
    public static class Stock {
        @Schema(description = "仓库ID")
        private Long warehouseId;
        @Schema(description = "仓库名称")
        private String warehouseName;
        @Schema(description = "书籍ID")
        private Long bookId;
        @Schema(description = "书籍编号")
        private String bookNo;
        @Schema(description = "书籍ISBN")
        private String bookIsbn;
        @Schema(description = "书籍名称")
        private String bookName;
        @Schema(description = "库存数量")
        private Long num;
        @Schema(description = "创建时间")
        private LocalDateTime createTime;
        @Schema(description = "更新时间")
        private LocalDateTime updateTime;
    }
}
